package com.zxbit.flash.response;

import com.zxbit.flash.base.BaseResponse;
import com.zxbit.flash.bean.HelpCenterData;

import java.util.ArrayList;

public class HelpCenterResponse extends BaseResponse<ArrayList<HelpCenterData>> {
    @Override
    public boolean hasData() {
        if (getData() != null && getData().size() > 0) {
            for (HelpCenterData item : getData()) {
                if ("1".equals(item.getStatus())) {
                    return true;
                }
            }
        }
        return false;
    }
}
